package com.guoxin.chapter2.synchoronizedupdatenewvalue;

/**
 * @author guoxin
 * @date 2019年8月21日
 */
public class MyThreadA extends Thread{

	private Service service;

	public MyThreadA(Service service) {
		this.service = service;
	}
	
	@Override
	public void run() {
		service.runMethod();
	}
}
